Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move the shortcode parser to the new pageparser package #5331

Merged
merged 16 commits into from
Oct 23, 2018

Conversation

bep
Copy link
Member

@bep bep commented Oct 17, 2018

See #5324

@bep bep force-pushed the parser-rework branch 28 times, most recently from 2d5edc2 to 6caf58d Compare October 22, 2018 17:57
@bep bep force-pushed the parser-rework branch 2 times, most recently from d055e5a to b1f6104 Compare October 22, 2018 20:36
@bep bep force-pushed the parser-rework branch 3 times, most recently from d97d280 to ecfa500 Compare October 23, 2018 11:43
`*json.UnmarshalTypeError` and `*json.SyntaxError` has a byte `Offset`, so use that.

This commit also reworks/simplifies the errror line matching logic. This also makes the file reading unbuffered, but that should be fine in this error case.

See gohugoio#5324
@bep bep force-pushed the parser-rework branch 3 times, most recently from b296872 to 45a44a4 Compare October 23, 2018 15:54
@bep bep changed the title WORK IN PROGRESS: Move the shortcode parser to the new pageparser package Move the shortcode parser to the new pageparser package Oct 23, 2018
@bep bep merged commit 6636cf1 into gohugoio:master Oct 23, 2018
@github-actions
Copy link

github-actions bot commented Feb 1, 2022

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 1, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant